// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: AdminGetAdminInfoAction.java

package com.market.web.action;

import com.market.web.XMLLoader;
import com.market.web.utils.EncryptData;

// Referenced classes of package com.market.web.action:
// BaseAction

public class AdminGetAdminInfoAction extends BaseAction2
{

    public AdminGetAdminInfoAction()
    {
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getPass()
    {
        return pass;
    }

    public void setPass(String pass)
    {
        this.pass = pass;
    }

    public String getRepass()
    {
        return repass;
    }

    public void setRepass(String repass)
    {
        this.repass = repass;
    }

    private String name;

    private String pass;

    private String repass;
    
    public String execute() throws Exception
    {
        //AdminInfoForm aif = new AdminInfoForm();
        setName(EncryptData.decrypt(XMLLoader.getAdminName()));
        setPass(EncryptData.decrypt(XMLLoader.getAdminPass()));
        setRepass(getPass());
        getRequest().setAttribute("adminInfoForm", this);
        return SUCCESS;
        //return mapping.findForward("adminInfo");
    }
}
